package name.vaccari.matteo.tai.chat.servlet;

import java.util.Arrays;
import java.util.List;

import name.vaccari.matteo.tai.chat.domain.Message;
import name.vaccari.matteo.tai.chat.domain.MessageRepository;

public class EmptyMessageRepository implements MessageRepository {

	public List<Message> getLatestMessages(int howMany) {
		List<Message> list = Arrays.asList();
		return list;
	}

	public void save(Message message) {
		throw new RuntimeException("Not yet implemented!");
	}

	public void addMessage(String message) {
		throw new RuntimeException("Not yet implemented!");
	}

}
